package com.ktjy.car.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ktjy.car.entity.Complaint;

public interface ComplaintService {
    //分页查询
    IPage<Complaint> findPageVo(Complaint complaint, Integer pageNo, Integer pageSize);

    //条件分页查询
    IPage<Complaint> selectPageByName(String brandName, String problem, String carType, Integer pageNo, Integer pageSize);

    int delete(int id);

    int insert(Complaint complaint);

    int update(Complaint complaint);
}